//

export default {
  state: {
    level: 'success', // primary secondary success danger warning info light dark
    msg: ''
  },
  mutations: {
    showNotification(state, notification) {
      state.level = notification.level
      state.msg = notification.level
    },
    hideNotification(state) {
      state.level = 'success'
      state.msg = ''
    },
  }
}
